

<?php
// 连接到Request.php
require('Request.php');
// 连接到Response.php
require('Response.php');
// 执行Request页中CreateConn方法
Request::CreateConn();
//获取数据
$data = Request::getRequest();

$data_array = array( );
//将数据放入数组
while ($row = mysqli_fetch_array($data,MYSQLI_ASSOC)) {
	$data_array[] = $row;
}
//输出结果
Response::sendResponse($data_array);
